home *** CD-ROM | disk | FTP | other *** search
- property _me, pChannelLocList, pIsVisible
-
- on new me, channelLocList, descendant
- if objectp(descendant) then
- _me = descendant
- else
- _me = me
- end if
- pChannelLocList = channelLocList
- return me
- end
-
- on condemn me
- _me = 0
- return me
- end
-
- on Inscope me
- repeat with i = 1 to count(pChannelLocList)
- sprite(getPropAt(pChannelLocList, i)).visible = 1
- puppetSprite(getPropAt(pChannelLocList, i), 1)
- end repeat
- return me
- end
-
- on outScope me
- repeat with i = 1 to count(pChannelLocList)
- sprite(getPropAt(pChannelLocList, i)).visible = 1
- puppetSprite(getPropAt(pChannelLocList, i), 0)
- end repeat
- return me
- end
-
- on showMe me
- if pIsVisible then
- repeat with i = 1 to count(pChannelLocList)
- sprite(getPropAt(pChannelLocList, i)).visible = 1
- set the loc of sprite getPropAt(pChannelLocList, i) to getAt(pChannelLocList, i)
- end repeat
- end if
- return me
- end
-
- on hideMe me
- repeat with i = 1 to count(pChannelLocList)
- sprite(getPropAt(pChannelLocList, i)).visible = 0
- set the loc of sprite getPropAt(pChannelLocList, i) to point(-9999, -9999)
- end repeat
- return me
- end
-
- on doRollover me
- return me
- end
-
- on setVisible me, isVisible
- pIsVisible = isVisible
- return me
- end
-